package com.DHH.Mapper.Api.Order;

import com.DHH.Entity.Order.OrderInfo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

@Repository
@MapperScan
public interface ApiOrderInfoMapper extends Mapper<OrderInfo>  {

            /*搜索*/
    public List<OrderInfo> searchByOrderInfo(OrderInfo r);
             /*筛选*/
    public List<OrderInfo> screenByOrderInfo(OrderInfo r);
             /*过滤*/
    public List<OrderInfo> filterByOrderInfo(OrderInfo r);

    public OrderInfo selectOrderInfoById(OrderInfo r);

//   public OrderInfo selectApiOrderInfoById(OrderInfo r);

    public OrderInfo selectApiOrderInfoByUserAndState(Map map);

    public OrderInfo selectApiOrderInfoByDidAndState(Map map);




}
